package com.smag.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.smag.common.core.domain.AjaxResult;
import com.smag.common.core.domain.entity.FarmTech;
import com.smag.system.domain.vo.FarmIdentify;
import org.springframework.web.multipart.MultipartFile;


import java.util.List;

/**
 * @author hzqhzq
 * @description 针对表【farm_crop】的数据库操作Service
 * @createDate 2023-03-26 14:14:05
 */
public interface FarmTechService extends IService<FarmTech> {


    List<FarmTech> pageListCrop(FarmTech farmTech,Long userId);

    AjaxResult deleteCropByIds(Long[] cropIds);

    AjaxResult updateCrop(FarmTech farmTech);

    AjaxResult insertCrop(FarmTech farmTech);

    Boolean updateTechAvatar(Long cropId, String avatar);

    FarmIdentify identify(MultipartFile file);
}
